import xpMtgSDK from '../../../services/mtgsdk/xpMtgSdk.umd'

Page({
  data: {
    url: '',
  },
  onLoad() {
    const _this = this
    xpMtgSDK.getStartInfo({}, function (res) {
      wx.hideHomeButton();
      var params = res.data.h5.params
      _this.setData({
        url: params.url
      });
    })
  },
})
